import axios from './index';

//=>Verify login
export function checkLogin() {
    return axios.get('/personal/login');
}

//=>Logout
export function exitLogin() {
    return axios.get('/personal/out');
}

//=>Get personal info
export function queryInfo() {
    return axios.get('/personal/info');
}

//=>Login
export function login(payload) {
    return axios.post('/personal/login', payload);
}










